Skip to content

Fix bug in all_events - #1274

Merged
dmeoli merged 1 commit into
aimacode:masterfrom
yangchenyun:patch-1
Jun 26, 2026
Merged

dmeoli merged 1 commit into
aimacode:masterfrom
yangchenyun:patch-1

Conversation

@yangchenyun

Copy link
Copy Markdown
Contributor

In case any variables exist in e, the former implementation would generate wrong results.

all_events("Alarm", alarm_net, {"Earthquake": F}) # before, would yield event with E: F

In case any `variables` exist in `e`, the former implementation would generate wrong results.
```py
all_events("Alarm", alarm_net, {"Earthquake": F}) # before, would yield event with E: F
```
weasdown added a commit to weasdown/aima-python that referenced this pull request Feb 5, 2025
@dmeoli
dmeoli merged commit b536e6d into aimacode:master Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants